/*
========================================================================
 Name        : WeatherForecastAppUi.h
 Author      : Song Yupeng
 Copyright   : Your copyright notice
 Description : 
========================================================================
*/
#ifndef WEATHERFORECASTAPPUI_H
#define WEATHERFORECASTAPPUI_H

#include <aknviewappui.h>

class CWeatherForecastContainerView;

/**
 * @class	CWeatherForecastAppUi WeatherForecastAppUi.h
 * @brief The AppUi class handles application-wide aspects of the user interface, including
 *        view management and the default menu, control pane, and status pane.
 */
class CWeatherForecastAppUi : public CAknViewAppUi
	{
public: 
	// constructor and destructor
	CWeatherForecastAppUi();
	virtual ~CWeatherForecastAppUi();
	void ConstructL();

public:
	// from CCoeAppUi
	TKeyResponse HandleKeyEventL(
				const TKeyEvent& aKeyEvent,
				TEventCode aType );

	// from CEikAppUi
	void HandleCommandL( TInt aCommand );
	void HandleResourceChangeL( TInt aType );

	// from CAknAppUi
	void HandleViewDeactivation( 
			const TVwsViewId& aViewIdToBeDeactivated, 
			const TVwsViewId& aNewlyActivatedViewId );

private:
	void InitializeContainersL();

private: 
	CWeatherForecastContainerView* iWeatherForecastContainerView;

	};

#endif // WEATHERFORECASTAPPUI_H			
